package com.coolingme.calculate.expression;

import com.coolingme.calculate.IMathExpression;

/**
 * 终结符表达式抽象类
 *
 * @author wangyue
 * @date 2020-09-29 22:38
 */
public abstract class TerminalExpression implements IMathExpression {

    protected IMathExpression left;
    protected IMathExpression right;

    public TerminalExpression(IMathExpression left, IMathExpression right) {
        this.left = left;
        this.right = right;
    }

}
